export default {
  namespaced: false, // 命名空间
  state: {
    regionId: window.sessionStorage.setItem('regionId', '430000'),
    regionName: window.sessionStorage.setItem('regionName', '湖南省'),
    regionIdArr: [{regionId:'430000',regionName:'湖南省'}]
  },
  getters: {},
  actions: {},
  mutations: {
    updateRegionId(state, regionId) {
      state.regionId = regionId
    },
    updateRegionName(state, regionName) {
      state.regionName = regionName
    },
    updateRegionIdArr(state, regionIdArr) {
      state.regionIdArr = regionIdArr
    },
  }
}
